\name{createTree}
\alias{createTree}
\title{Create A Decision Tree}
\description{
  Creates a decision tree from a given data set.
}
\usage{
createTree(x, cpv)
}
\arguments{
  \item{x}{a data frame with data.}
  \item{cpv}{complexity parameter value. Should be between 0 and 1.}
}
\details{
  The function is a wrapper for \code{rpart} from the \code{rpart} package.
}
\keyword{tree}
